package com.moon.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author ：xxx
 * @description：TODO
 * @date ：2024/04/26 9:11
 */
@TableName("t_master")
@Data
@Accessors(chain = true)
public class Master {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    private Integer dogId;


    private String masterName;
    private String masterAge;

//    @TableField(exist = false)
//    private List<Dog> dogs;




}
